-- GENERATED SPELL FOR [Borgosh Corebender] --


function spell0_11178(pUnit, Event) --@Forget,n/a--
pUnit:FullCastSpellOnTarget(36436,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11178', 556, 1)
end

function Sorts_11178(pUnit, Event)
local choix_sorts_11178 = math.random(0, 0)
if choix_sorts_11178 == 0 then
pUnit:RegisterEvent('spell0_11178', 1, 1)
end
end

function mob11178_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11178', math.random(1500, 3000), 1)
end

function mob11178_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11178_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11178_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11178, 1, 'mob11178_Action')
RegisterUnitEvent(11178, 2, 'mob11178_Leave')
RegisterUnitEvent(11178, 3, 'mob11178_Kill')
RegisterUnitEvent(11178, 4, 'mob11178_Die')
